<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户管理主页</title>
</head>
<body>
<h1>用户管理</h1>
<a>普通用户列表</a>
<table>
    <tr th:each="userc : ${comList}">
        <td>身份码：<span th:text="${userc.idcode}"></span></td>
        <td>
            <form th:action="@{/updatenumberuse}" method="post">
                <input type="hidden" name="idcode" th:value="${userc.idcode}"/>
                剩余登录次数：<input type="text" name="numberuse" th:value="${userc.numberuse}"/>
                <button type="submit">保存</button>
            </form>
        </td>
        <td>
            <a th:href="@{/lookuserinformation/{idcode}(idcode=${userc.idcode})}">查看用户信息</a>
            <a th:href="@{/deletecomuser/{idcode}(idcode=${userc.idcode})}">删除用户</a>
        </td>
    </tr>
</table>


<a th:href="@{/admintoaddcommuser}">添加用户</a>↑建议为删除用户增加弹窗，不然按一个删一个！

</body>
</html>